<h2>Compose Your Message</h2>
<input type="hidden" name="cid" value="<?php echo $cid; ?>" />
<input type="hidden" name="aid" value="<?php echo $row_courses['aid']; ?>" />
<input type="hidden" name="did" value="<?php echo $row_courses['did']; ?>" />
<input type="hidden" name="jiu_course_id" value="<?php echo $row_courses['jiu_course_id']; ?>" />
<input type="hidden" name="from_email" value="<?php echo $row_aid['email']; ?>" />
<input type="hidden" name="from_name" value="<?php echo $row_aid['firstName']." ".$row_aid['lastName']; ?>" />
<input type="hidden" name="to_email" value="<?php echo $row_did['email']; ?>" />
<input type="hidden" name="to_name" value="<?php echo $row_did['firstName']." ".$row_did['lastName']; ?>" />
<table class="dataTable" style="width: 600px;">
<tr style="background-color: <?php echo $color2; ?>">
	<td class="dataLabel">To:</td>
	<td class="data"><?php echo $row_did['firstName']." ".$row_did['lastName']; ?></td>
</tr>
<tr style="background-color: <?php echo $color1; ?>">
	<td class="dataLabel">From:</td>
    <td class="data"><?php echo $row_aid['firstName']." ".$row_aid['lastName']; ?></td>
</tr>
<tr style="background-color: <?php echo $color2; ?>">
	<td class="dataLabel">Subject:</td> 
	<td class="data"><input name="subject" type="text" id="subject" value="<?php echo $row_courses['jiu_course_id']; ?>" size="60"></td>
</tr>
<tr style="background-color: <?php echo $color1; ?>">
	<td colspan="2"><textarea name="message" cols="115" rows="20"></textarea></td>
</tr>
</table>
<div class="stacked"><input name="submit" type="submit" class="button" value="Send Message"></div>